//
//  demo2View.h
//  MyBlock
//
//  Created by YuanJiang on 2019/9/4.
//  Copyright © 2019 YuanJiang. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^textValue)(NSString *);

@interface demo2View : UIView

@property(nonatomic,copy) textValue value;

-(instancetype)initWithTitle:(NSString *)title
               complateBlock:(void(^)(NSString *))blcok;

@end

NS_ASSUME_NONNULL_END
